import React, { Component } from 'react';
import { Row, Card, Col } from 'antd';
import connect from 'dva';
import FreeDrawChart from './components/FreeDrawChart/FreeDrawChart';

class DrawPage extends Component {
  static displayName = 'DrawPage';

  constructor(props) {
    super(props);
    this.state = {};
  }

  render() {
    return (
      <Card>
        <Row>
          <Col className="gutter-row" span={12}>
            <FreeDrawChart namespace="self" chartId="selfChart" />
          </Col>
          <Col className="gutter-row" span={12}>
            <FreeDrawChart namespace="compare" chartId="compareChart" />
          </Col>
        </Row>
      </Card>
    );
  }
}

export default DrawPage;
// export default connect()(DrawPage);
